home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
v
/
varkcliutils11.dms
/
varkcliutils11.adf
/
VARK
/
BootGauge.doc
< prev
next >
Wrap
Text File
|
1995-11-02
|
8KB
|
415 lines
Short: Shows a gauge bar while booting, BETA !!!
Uploader: Tcn@lbcmbx.in-berlin.de (Timo C. Nentwig)
Author: Tcn@lbcmbx.in-berlin.de (Timo C. Nentwig)
Type: util/boot
NAME
BootGauge 0.3
Copyright © 1995 by Timo C. Nentwig
STATUS
SysBoot is Giftware ! That means that you (the user of BG) MUST send
me a nice gift if for use BG ;-)
REQUIREMENTS
AmigaOS 2+
4/5Bit Screeenmode
PURPOSE
My A4k30 needs about 1min to boot. It was boring to wait all the
time and just seeing a black screen.
I tried a boot picture but I wasn't much more fun.
I had long time dreamed to have such tool but when I saw that the
MAC (Sys7.5.1+) had a boot gauge bar I began to develop an equal
program.
BootGauge opens its own window on its own screen and executes an
alternative startup-sequence.
So it displays a gauge bar while booting.
USAGE
Your Startup-Sequence could look so:
SysIHack 18 16 18 15 3DLOOK HBORDER 3 VBORDER 3 ; 13 pt font
PrePareEmul >NIL: ; ShapeShifter
SetPatch >NIL:
Assign ENV: ENVARC:
DH1:Devs/Monitors/Spectrum
Bootgauge -sx 600 -sy 100 -id 1078067204 -seq s:amiga-startup >nil:
endcli >nil:
This will force BG to execute s:amiga-startup.
OPTIONS
The advantage of BG is that it is very configurable.
BootGauge <options>
To get a short help enter:
BootGauge ? or BootGauge
EXAMPLE
Bootgauge -sx 600 -sy 100 -id 1078067204 -seq s:amiga-startup >nil:
OPTIONS
01) ModeID : -modeid <modeid> or -id <modeid>
Set the BG screenmode. Get the <modeid> by
typing:
BootGauge -getid
02) Sequence : -seq <sequence> or -sequence <sequence>
<sequence> is the startup-sequence that should
be executed by BG.
03) GaugeColor : -gc <0-31> or -gaugecolor <0-31>
Set the color of the gauge bar.
04) GaugeBackColor: -gbc <0-31> or -gaugebackcolor <0-31>
Set the background color of the gauge bar.
05) WindowColor : -wc <0-31> or -windowcolor <0-31>
Set the color of the window.
06) ScreenColor : -sc <1-31> or -screencolor <1-31>
Set the color of the screen.
07) ScreenPattern : -spat or -screenpat
Set a background pattern for the screen instead
of a simple color.
08) X size : -sx <x> or -sizex <x>
Set the window's x size.
08) Y size : -sy <x> or -sizey <x>
Set the window's y size.
09) NoPattern : -nopat or -nopattern
Do not use a pattern in the window.
10) NoRaster : -norast or -noraster
Disable raster color filling of screen.
11) NoScale : -nosl or -noscale
Do not display gauge bar's scale.
12) NoDebug : -nodb or -nodebug
Do not display any requester/warnings.
13) NoDisplayCmd : -nodc or -nodisplaycmd
Do not display the current command in the
title bar.
14) ECS Mode : -emod or -ecsmode
Use only a 4 bit (instead of 5 bit) screen. For
compatibility with ocs/ecs Amigas.
15) GetModeID : -getmodeid or -getid
Sub-program to get the id of a screenmode.
16) Test : -t or -test
Do not execute the current line of <sequence>.
TODO
Please send me patterns for the window/screen if you have any !!!
... contact me !
EXAMPLE
** s:startup-sequence
------------------
SysIHack 18 16 18 15 3DLOOK HBORDER 3 VBORDER 3 ; 13 pt font
PrePareEmul >NIL: ; ShapeShifter
SetPatch >NIL:
Assign ENV: ENVARC:
DH1:Devs/Monitors/Spectrum
;SysBoot -id 1078067204 -aimg 4 -t 15 -fc 28 -amicmd "Bootgauge -gc 9 -id 1078067204 -seq s:amiga-startup" -aplcmd "execute s:mac-startup"
Bootgauge -sx 600 -sy 100 -id 1078067204 -seq s:amiga-startup >nil:
endcli >nil:
** s:amiga-startup
---------------
PatchControl ARQ
Relabel drive RAM: name "Ram-Disk"
Copy >NIL: SYS:S/RAM.info RAM:Disk.info
MakeDir >NIL: Ram:Env Ram:T Ram:Clipboards
Copy >NIL: ENVARC: RAM:ENV ALL NOREQ
; System Assigns - - - - - - - - - - - - - - - - - -
Execute S:Assign/System.assign
; KingCon - - - - - - - - - - - - - - - - - - - - - -
Assign CON: Dismount ; use KingCon instead of Con:
Assign RAW: Dismount ; use KingCon instead of Raw:
; Drivers - - - - - - - - - - - - - - - - - - - - - -
Mount >NIL: DEVS:DOSDrivers/~(#?.info)
MFSMount DEVS:DOSDrivers/~(#?.info)
DEVS:Monitors/VGAOnly
List >NIL: DEVS:Monitors/~(#?.info|Spectrum) to T:Monitors LFORMAT "DEVS:Monitors/%s"
Execute >NIL: T:Monitors
Delete >NIL: T:Monitors
RUN >NIL: MagicWB-Demon 4,123,123,123 5,175,175,175 6,170,144,124 7,255,169,151 ; arg "xen" -> Gag
; User Assigns - - - - - - - - - - - - - - - - - - -
Execute S:Assign/Directory.assign
Execute S:Assign/Art.assign
Execute S:Assign/Dev.assign
Execute S:Assign/DFA.assign
Execute S:Assign/HD.assign
Execute S:Assign/MagicWB.assign
Execute S:Assign/Misc.assign
Execute S:Assign/MUI.assign
Execute S:Assign/Music.assign
Execute S:Assign/Text.assign
Execute S:Assign/UMS_UUCP.assign
; System - - - - - - - - - - - - - - - - - - - - - -
AddDataTypes REFRESH QUIET
IPrefs
; Startup-Seqs - - - - - - - - - - - - - - - - - - -
Execute S:User-Startup
Execute S:Tools-Startup
Execute S:Path-Startup
LoadWB CLEANUP
NOTE
BootGauge works line orientated. This means that BG reads <sequence>
line for line and executes every line by using system(). That means
for example that your can't use if blocks or jumps marks like
lab/skip.
* BG is not able to handle alias, path etc.
* BG is not able to handle if blocks, lab/skip etc.
* several other commands cannot be executed or won't have any
effect.
* Test your system before really using BG, e.g. with:
BootGauge -test -seq s:amiga-startup.
--BUG --
BG's debug mode is not able to handle strings, yet. This means that
there's no difference between:
path ram:
and
echo "path ram:"
You'll get a request that BG is not able to handle path !
This will be fixed as soon as possible.
I did not test BG very much but it works with my configuration.
I still look for beta testers. You want to test BG ? Please contact
me !!
BTW: I'm sorry if this doc is full of mistakes but I do not have
very much time to write it.
HISTORY
CNG = CHANGED
ADD = ADDED
REM = REMOVED
FIX = FIXED
15 Sep 1995 - 0.1
first runable version
17 Sep 1995 - 0.2
add: background image
add: -gc/-gaugecolor
add: background pattern
add: -sc/-screencolor
add: -nosr/-noscreenraster
add: -test
cng: background image
add: -cv/-viewcommand
add: FAILED_OPENSEQ
20 Okt 1995 - 0.3
add: check: skip, failat, path
cng: set "BootGauge ..." before everything in titlebar
add: if/endif handling
cng: image handling
add: window's x/y size is configureable
IText and gauge bar adapts automatically
add: gauge bar scale
add: -nopat/-nopattern
add: -wc/-windowcolor
add: -nosl/-noscale
add: -gbc/-gaugebackcolor
add: -getid/-getmodeid
fix: check if bg_win is too large for bg_scr
fix: if handling now correct
fix: cmd handling now correct
add: skip/lab handling
cng: image
imp: palette, using now 32bit palette
add: -nodb/-nodebug
** 01 Nov 1995 **
add: -emod/-ecsmode
add: test if line is a comment
-- <initial release> --
AUTHOR
Timo C. Nentwig
Edelhofdamm 35
13465 Berlin
Tcn@lbcmbx.in-berlin.de
Comments, suggestions, bugreports etc. to the address above.